using System;
using System.Collections.Generic;
using System.Text;

namespace virtualMethod
{
    static class A 
    {
        //static A()
        //{
        //    Console.WriteLine( "This Is Contructor A" );

        //}

        public static void a()
        { Console.WriteLine( "This Is a()" ); }

        //public virtual void a_B()
        //{ Console.WriteLine( "This Is a_B()" ); }

        public static void a_B()
        { Console.WriteLine( "This Is a_B()" ); }

        public static void a_C()
        { Console.WriteLine( "This Is a_C()" ); }
    }

    class B 
    {
        public B()
        {
            Console.WriteLine( "This Is Contructor B" );
 
        }

        static B()
        {
            Console.WriteLine( "This Is Static Contructor B" );
 
 
        }

        public void b()
        { Console.WriteLine( "This Is b()" ); }

        //public void a_B()
        //{ Console.WriteLine( "This Is B_a()" ); }

        public new void a_C()
        { Console.WriteLine( "This Is B_c()" ); }
    }
}
